package com.wgc.vip.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wgc.vip.domain.Vip;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 15776
* @description 针对表【vip】的数据库操作Service
* @createDate 2024-07-28 12:30:29
*/
public interface VipService extends IService<Vip> {

    List<Vip> selectAll();

    Integer insert(Vip vip);

    Integer update(Vip vip);

    Integer delete(Integer id);

    List<Vip> selectList(Vip vip);

    Page<Vip> pageAll(Integer page, Integer size);

    Page<Vip> pageList(Vip vip, Integer page, Integer size);

    int status(Long id, Integer status);

    Integer login(String vipName, String password);
}
